import { createSlice } from "@reduxjs/toolkit";

const useSlice=createSlice({
    name:'user',
    initialState:{
        info:null
    },
    reducers:{
        outdeng(state,action){
            state.info=action.payload
        }
    }
})
export const {outdeng}=useSlice.actions
export default useSlice.reducer